package homework0713;

public class Card {
    private String point;
    private String type;
    private int pointIndex;
    private int typeIndex;
    private String imageLocation;

    public Card() {
    }

    public Card(String point, String type, int pointIndex, int typeIndex, String imageLocation) {
        this.point = point;
        this.type = type;
        this.pointIndex = pointIndex;
        this.typeIndex = typeIndex;
        this.imageLocation = imageLocation;
    }

    public Card(String point, String type) {
        this.point = point;
        this.type = type;
    }

    public Card(String point, String type, int pointIndex, int typeIndex) {
        this.point = point;
        this.type = type;
        this.pointIndex = pointIndex;
        this.typeIndex = typeIndex;
    }

    @Override
    public String toString() {
        return imageLocation;
    }



    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getPointIndex() {
        return pointIndex;
    }

    public void setPointIndex(int pointIndex) {
        this.pointIndex = pointIndex;
    }

    public int getTypeIndex() {
        return typeIndex;
    }

    public void setTypeIndex(int typeIndex) {
        this.typeIndex = typeIndex;
    }

    public String getImageLocation() {
        return imageLocation;
    }

    public void setImageLocation(String imageLocation) {
        this.imageLocation = imageLocation;
    }
}
